package com.jsoft.pds.bs.service;

import java.util.List;

import com.jsoft.pds.eis.bo.base.BaseEntity;

/**
 * @author developer 
 */
public interface PediatricsService {
	
public <T> BaseEntity save(BaseEntity baseEntity);
	
	public void update(BaseEntity baseEntity);
	
	public void delete(BaseEntity baseEntity);
	
	public <T> List<T> find(BaseEntity baseEntity);
	
	public <T> BaseEntity findById(Class<? extends BaseEntity> clazz, Integer id);
	
	public <T> List<T> findAll(Class<? extends BaseEntity> clazz);

}
